<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
        xmlns:shiro="http://www.thymeleaf.org/thymeleaf-extras-shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <header class="">
        <h4>欢迎来到英码科技</h4>
        <hr>
        <!--判断用户拥有的权限,显示不同功能-->
        <div shiro:hasPermission="systemadd">
            <a th:href="@{user/adds}">add</a>
        </div>
        <div shiro:hasPermission="update">
            <a th:href="@{user/updates}">update</a>
        </div>



    </header>
    <div></div>
</body>
</html>
